<%@ Control Language="C#" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>

<table cellpadding="2" cellspacing="1" border="0">
	<tr><td colspan="2"><asp:Label ID="_default_contact_name" runat="server" Text="CONTACT INFORMATION" /></td></tr>
	<tr><td ><asp:Label ID="_lastNameLbl" runat="server" Text="Last Name" /></td><td><asp:TextBox ID="contact_lastName" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_firstNameLbl" runat="server" Text="First Name" /></td><td><asp:TextBox ID="contact_firstName" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_labelMiddleName" runat="server" Text="Middle Name" /></td><td><asp:TextBox ID="contact_middleName" runat="server" /></td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><td><asp:Label ID="_Stree1Lbl" runat="server" Text="Street" /></td><td><asp:TextBox ID="contact_defaultAddress_street1" runat="server" /></td></tr>
	<tr><td></td><td><asp:TextBox ID="contact_defaultAddress_street2" runat="server" /></td></tr>
	<tr><td></td><td><asp:TextBox ID="contact_defaultAddress_street3" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_City" runat="server" Text="City" /></td><td><asp:TextBox ID="contact_defaultAddress_city" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_zipCodeLbl" runat="server" Text="Zip Code" /></td><td><asp:TextBox ID="contact_defaultAddress_zipCode" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_countryLbl" runat="server" Text="Country" /></td>
		<td>
			<snc:Combo ID="contact_defaultAddress_country_regionCode" runat="server" 
				DataSourceBizRule="getCountries" Mode="Unbound" Theme="Vista">
				<TextBox Width="249px" /><List Width="250px" Height="150" />
				<Columns>
					<ntb:BoundColumn DataField="regionCode" visible="false" />
					<ntb:BoundColumn DataField="name" HeaderText="Name" width="150" />
				</Columns>
			</snc:Combo>	
		</td>
	</tr>
	<tr><td><asp:Label ID="_typeLbl" runat="server" Text="Contact Type" /></td>
		<td>
			<snc:Combo ID="contact_typeId" runat="server" 
				DataSourceBizRule="getContactTypes" Mode="Unbound" Theme="Vista">
				<TextBox Width="249px" /><List Width="250px" Height="150" />
				<Columns>
					<ntb:BoundColumn DataField="typeId" visible="false" />
					<ntb:BoundColumn DataField="name" HeaderText="Name" width="150" />
				</Columns>
			</snc:Combo>
		</td>
	</tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><td><asp:Label ID="_phoneLbl" runat="server" Text="Phone" /></td><td><asp:TextBox ID="contact_phone" runat="server" /></td></tr>
	<tr><td><asp:Label ID="_emailLbl" runat="server" Text="Email" /></td><td><asp:TextBox ID="contact_email" runat="server" /></td></tr>
	
	
	<tr><td><asp:Label ID="_isUserLbl" runat="server" Text="is User" /></td><td><asp:CheckBox ID="contact_isUser" runat="server" /></td></tr>
</table>
